{extend name='common@layout/seller' /}
{block name="left"}{include file='store/left'}{/block}
{block name="breadcrumb"}
<div class="ncsc-path"><i class="icon-desktop"></i>商家管理中心<i class="icon-angle-right"></i>店铺<i class="icon-angle-right"></i>经营类目</div>
{/block}
{block name='content'}
{include file='store/tab_store_info'}

<table class="ncsc-default-table">
  <thead>
    <tr>
      <th class="w20"></th>
      <th colspan="3">经营类目</th>
      <th>分佣比例</th>
      <th>状态</th>
      <th>操作</th>
    </tr>
  </thead>
  <tbody>
  {volist name="bind_class" id="vo"}
            <tr class="bd-line">
      <td></td>
      <td class="w180 tl">{$goods_class[$vo.class_1]['name']}</td>
      <td class="w180 tl">>&emsp;{$goods_class[$vo.class_1]['_child'][$vo['class_2']]['name']}</td>
      <td class="w180 tl">&emsp;</td>
      <td class="w180">{$vo.commis_rate} %</td>
      <td class="w100">{$state[$vo.state]}</td>
      <td class="nscs-table-handle">
      {if condition="$vo.state == 0"}
	      <span><a href="javascript:void(0)" class="btn-red" onclick="ajax_get_confirm('确认删除该申请吗？', 'index.php?s=seller/store_info/bind_class_del&id={$vo.id}');"><i class="icon-trash"></i><p>删除</p></a></span>
	  {/if}
      </td>
    </tr>
    {/volist}
          </tbody>
</table>
{/block}